﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Jobs.ascx.cs" Inherits="UserControls_employer_Jobs" %>
<%@ Register assembly="Gaia.WebWidgets" namespace="Gaia.WebWidgets" tagprefix="gaia" %>
<link href="../../StyleSheet.css" rel="stylesheet" type="text/css" />
<link href="../../css/grid.css" rel="stylesheet" type="text/css" />
<link href="../../css/round.css" rel="stylesheet" type="text/css" />
<style type="text/css">
        .style1
        {
            width: 15px;
        }
    .style2
    {
        color: #000099;
    }
    </style>
   <table border="0" cellpadding='0' cellspacing='0' style="width:100%;">
     <tr>
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
       
     </tr>
     <tr>
       <td class="style1"></td>
       <td align="left" valign="top"></td>
       <td></td>
       <td></td>
       
     </tr>
     <tr>
       <td class="style1"></td>
       
       <td align="left" colspan="3" 
             style="height:20px;" 
             valign="top"> 
           <div style="background-position: left center; padding-left:10px; background-image: url('title.gif'); background-repeat: no-repeat; height: 20px; width:700px;">
               <strong class="biglabel">Jobs Primary Details Section</strong>
           </div>
             </td>
     </tr>
     
     
     <tr>
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
     
     <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;<span class="style2">Job Code</span><span style="color:Red;">*</span>&nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<asp:TextBox runat="server" ID="txtJobCode" Width="150px" />
           <asp:RequiredFieldValidator ID="reqJobsCode" runat="server" 
               ControlToValidate="txtJobCode" ErrorMessage="Please enter your Jobs Code"></asp:RequiredFieldValidator>
             </td>
       <td>&nbsp;</td>
     </tr>
     
     
     <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
     
     <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;<span class="style2">Job Title</span><span style="color:Red;">*</span>&nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<asp:TextBox runat="server" ID="txtJobTitle" Width="150px" />
           <asp:RequiredFieldValidator ID="reqJobsTitle" runat="server" 
               ControlToValidate="txtJobTitle" ErrorMessage="Please enter your Jobs Title"></asp:RequiredFieldValidator>
             </td>
       <td>&nbsp;</td>
     </tr>
     
     
    <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
      <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="top">&nbsp;<span class="style2">Job Descriptions</span><span style="color:Red;">*</span>&nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<asp:TextBox runat="server" ID="txtJobDesc" 
               Width="400px" Height="200px" TextMode="MultiLine" />
           <asp:RequiredFieldValidator ID="reqJobsTitle2" runat="server" 
               ControlToValidate="txtJobDesc" ErrorMessage="Job Desc. Required"></asp:RequiredFieldValidator>
             </td>
       <td>&nbsp;</td>
     </tr>
     
       <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
       <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="top">&nbsp;<span class="style2">Job Opening Date</span><span style="color:Red;">*</span>&nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<asp:TextBox runat="server" 
               ID="txtJobOpeningDate" Width="150px" />
        &nbsp; <asp:ImageButton ID="btnCalender" runat="server" 
               ToolTip="Click here to see calender" 
               ImageUrl="~/Images/Calendar_scheduleHS.png" CausesValidation="False" />
         <%--  <cc1:CalendarExtender ID="CalendarExtender1" runat="server"  
               PopupButtonID="btnCalender" TargetControlID="txtJobOpeningDate">
           </cc1:CalendarExtender>--%>
           <asp:RequiredFieldValidator ID="reqJobsTitle0" runat="server" 
               ControlToValidate="txtJobOpeningDate" 
               ErrorMessage="Please enter job opening date"></asp:RequiredFieldValidator>
       </td>
       <td>&nbsp;</td>
     </tr>
     
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
      <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="top">&nbsp;<span class="style2">Job Closing Date</span><span style="color:Red;">*</span>&nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<asp:TextBox runat="server" 
               ID="txtJobClosingDate" Width="150px" />
        &nbsp; <asp:ImageButton ID="btnJobClosing" runat="server" 
               ToolTip="Click here to see calender" 
               ImageUrl="~/Images/Calendar_scheduleHS.png" CausesValidation="False" />
          <%-- <cc1:CalendarExtender ID="CalendarExtender2" runat="server"  
               PopupButtonID="btnJobClosing" TargetControlID="txtJobClosingDate">
           </cc1:CalendarExtender>--%>
           <asp:RequiredFieldValidator ID="reqJobsTitle1" runat="server" 
               ControlToValidate="txtJobClosingDate" 
               ErrorMessage="Please enter job closing date"></asp:RequiredFieldValidator>
       </td>
       <td>&nbsp;</td>
     </tr>
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
      <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;<span class="style2">Country</span><span style="color:Red;">*</span>&nbsp; : &nbsp;</td>
       <td align="left" valign="top">
           <asp:DropDownList ID="drpCountry" runat="server" AutoPostBack="True" CausesValidation="false" 
               onselectedindexchanged="drpCountry_SelectedIndexChanged" Width="150px">
           </asp:DropDownList>
             </td>
       <td>&nbsp;</td>
     </tr>
      
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
      <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;<span class="style2">State</span><span style="color:Red;">*</span>&nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<asp:DropDownList runat="server" ID="drpState" Width="150px" /></td>
       <td>&nbsp;</td>
     </tr>
      
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
      <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;<span class="style2">City</span><span style="color:Red;">*</span>&nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<asp:TextBox runat="server" ID="txtCity" Width="150px" /></td>
       <td>&nbsp;</td>
     </tr>
     
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
     <tr>
       <td class="style1"></td>
       <td align="left" colspan="3" 
             style="height:20px;" 
             valign="top"> 
           <div style="background-position: left center; padding-left:10px; background-image: url('title.gif'); background-repeat: no-repeat; height: 20px; width:700px;">
               <strong class="biglabel">Jobs Secondry Details Section</strong>
           </div>
             </td>
     </tr>
     
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
      <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;<span class="style2">Job In Nature</span>&nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<asp:DropDownList runat="server" ID="drpJobType" Width="150px" /></td>
       <td>&nbsp;</td>
     </tr>
     
       <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
     <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;<span class="style2">Industry</span><span style="color:Red;">*</span>&nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<asp:DropDownList runat="server" 
               ID="drpJobCategory" Width="300px" 
               onselectedindexchanged="drpJobCategory_SelectedIndexChanged" /></td>
       <td>&nbsp;</td>
     </tr>
     
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
     <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;<span class="style2">Functional Area</span>&nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<gaia:DropDownList ID="drpJobFunctionalArea" 
               runat="server" 
               onselectedindexchanged="drpJobFunctionalArea_SelectedIndexChanged" 
               Width="300px">
           </gaia:DropDownList>
&nbsp;<asp:TextBox ID="txtOthersFunctionalArea" runat="server" Visible="False"></asp:TextBox>
             </td>
       <td>&nbsp;</td>
     </tr>
     
     <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
     <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;<span class="style2">Contact Person </span>&nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<asp:TextBox runat="server" ID="txtContactPerson" Width="150px" /></td>
       <td>&nbsp;</td>
     </tr>
     
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;<span class="style2">Contact Person Email</span> &nbsp; : &nbsp;</td>
       <td>
           <asp:TextBox ID="txtContactPersonEmail" runat="server" Width="150px"></asp:TextBox>
             <asp:RegularExpressionValidator ID="RegularExpressionValidator1" 
               runat="server" ControlToValidate="txtContactPersonEmail" 
               ErrorMessage="Invalid Email Address" 
               ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
             </td>
       <td>&nbsp;</td>
     </tr>
     
     <tr>
       <td class="style1"></td>
       <td align="left" colspan="3" 
             style="height:20px;" 
             valign="top"> 
           <div style="background-position: left center; padding-left:10px; background-image: url('title.gif'); background-repeat: no-repeat; height: 20px; width:700px;">
               <strong class="biglabel">Jobs Other Details Section</strong>
           </div>
             </td>
     </tr>
     
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
     <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;<span class="style2">Min. Salary</span> &nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<asp:TextBox runat="server" ID="txtMinSalary" Width="150px" /></td>
       <td>&nbsp;</td>
     </tr>
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
     <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;<span class="style2">Max. Salary</span> &nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<asp:TextBox runat="server" ID="txtMaxSalary" Width="150px" /></td>
       <td>&nbsp;</td>
     </tr>
     
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
     <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;<span class="style2">Min. Exp. </span>&nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<asp:TextBox runat="server" ID="txtMinExpYears" Width="50px" /> Years - <asp:TextBox runat="server" ID="txtMinExpMonth" Width="50px" /> Months</td>
       <td>&nbsp;</td>
     </tr>
     
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
     <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;<span class="style2">Max. Exp.</span> &nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<asp:TextBox runat="server" ID="txtMaxExpYears" Width="50px" /> Years - <asp:TextBox runat="server" ID="txtMaxExpMonth" Width="50px" /> Months</td>
       <td>&nbsp;</td>
     </tr>
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
      <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;&nbsp;</td>
       <td align="left" valign="top">&nbsp;
         <asp:CheckBox Text="Is Fresher's can apply?" CssClass="style2" runat="server" ToolTip="-1" ID="chkFreshers" />
       </td>
       <td>&nbsp;</td>
     </tr>
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="top">&nbsp;<span class="style2">Educational Details </span>&nbsp; : &nbsp;</td>
       <td align="left" valign="top">&nbsp;<asp:ListBox ID="lstEducation" runat="server" 
               Height="150px" onselectedindexchanged="lstEducation_SelectedIndexChanged1" 
               Rows="10" SelectionMode="Multiple" Width="250px"></asp:ListBox>
           <asp:TextBox runat="server" ID="txtEducationOthers" Visible="false" Width="150px" /></td>
       <td>&nbsp;</td>
     </tr>
     
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     
     <tr>
       <td class="style1">&nbsp;</td>
       <td align="right" valign="middle">&nbsp;<span class="style2">Compensation&nbsp;</span> : &nbsp;</td>
       <td align="left" valign="top">&nbsp; <asp:TextBox runat="server" ID="txtCompensation"  Width="150px" /></td>
       <td>&nbsp;</td>
     </tr>
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
     <tr>
       <td class="style1"></td>
       <td align="left" valign="top">&nbsp;</td>
       <td align="left" colspan="2" 
             
             valign="top"> 
          <asp:Button ID="btnSubmit" runat="server" Text="Submit" 
               onclick="btnSubmit_Click" />
             </td>
     </tr>
      <tr style="height:10px;">
       <td class="style1">&nbsp;</td>
       <td align="left" valign="top">&nbsp;</td>
       <td>&nbsp;</td>
       <td>&nbsp;</td>
     </tr>
   </table>



    

